package com.yvon.maple.cloud.web.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Yvon
 * @since 2023/1/5
 */
@RefreshScope
@Configuration
@ConfigurationProperties("feign.inside")
@Data
public class FeignInsideProperties {

    /**
     * key
     */
    private String key;

    /**
     * 秘钥
     */
    private String secret;

    /**
     * 放行ip
     */
    private List<String> ips;
}
